<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>login</h1>
<h1 th:text="${msg}"></h1>
<form th:action="@{/login}">
    <input type="text" name="user">
    <input type="text" name="pwd">
    <input type="submit" value="登录">
</form>

</body>
</html>